package com.hotel.writer.lucene.index;


public class LuceneBootStrap {
    /**
     * Lucene索引初始<br/>
     * 启动两个线程对应两个索引文件，来处理IndexStore保存的索引类
     *
     * @return
     */
    public static void boot() {
        new Thread(new EjobIndexWriter(IndexStore.getPositionIndexStore())).start();
        new Thread(new EjobIndexWriter(IndexStore.getPersonIndexStore())).start();
    }
}
